projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80d116c
)
(org-get-level-face): Fixed bug with level counting.
author
Carsten Dominik
<dominik@science.uva.nl>
Mon, 27 Mar 2006 08:03:33 +0000
(08:03 +0000)
committer
Carsten Dominik
<dominik@science.uva.nl>
Mon, 27 Mar 2006 08:03:33 +0000
(08:03 +0000)
lisp/textmodes/org.el
patch
|
blob
|
history
diff --git
a/lisp/textmodes/org.el
b/lisp/textmodes/org.el
index ad4744adf157dff0bee8450eedecc34b2297e899..5d1efeb690225928539000c4c15213812e72c522 100644
(file)
--- a/
lisp/textmodes/org.el
+++ b/
lisp/textmodes/org.el
@@
-2383,7
+2383,7
@@
between words."
"Get the right face for match N in font-lock matching of healdines."
(setq org-l (- (match-end 2) (match-beginning 1)))
(if org-odd-levels-only (setq org-l (1+ (/ org-l 2))))
- (setq org-f (nth (
1- (% org-l org-n-levels)
) org-level-faces))
+ (setq org-f (nth (
% (1- org-l) org-n-levels
) org-level-faces))
(cond
((eq n 1) (if org-hide-leading-stars 'org-hide org-f))
((eq n 2) org-f)